<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">最新消息<span id="PageBack" class="back">返回</span><a class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view765883" class="" style="padding: 10px;">
                <div class="weui-form">
                    <div class="weui-form-item">
                        <a data-index="6515090" href="index.html" class="weui-btn weui-btn_mini   weui-btn_plain-default  ">返回</a>
                    </div>
                </div>
                {foreach name="newslist" item="vo"}
                <div  class="weui-card shadow" style="padding: 5px; margin: 5px;">
                    <div class="weui-flex" style="">
                        <div id="flex_item5931940" class="weui-flex_item weui-flex_item5931940" style="flex-basis:40%;padding: 0px !important;width:100%;">
                            <div class="">
                                {if $vo.type == "裝置狀態"}
                                <span style="color: rgb(255, 0, 0);">{$vo.type}</span>
                                {else}
                                {$vo.type}
                                {/if}
                            </div>
                        </div>
                        <div id="flex_item5931941" class="weui-flex_item weui-flex_item5931941" style="flex-basis:60%;padding: 0px !important;width:100%;">
                            <div class="">
                                {$vo.create_time}
                            </div>
                        </div>
                    </div>
                    <div class="">
                        {$vo.name}
                    </div>
                </div>
                {/foreach}
            </div>
        </div>
    </div>
</div>
